package com.hlkj.pay.vo.admin.req.user;

import com.hlkj.pay.enums.AdminUserEnum;
import com.hlkj.pay.vo.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/09/10 14:50
 */
@Data
public class AdminUserAddReq extends BaseReq {
    /**
     * 用户名
     */
    @Size(max = 64)
    @Schema(description ="用户名")
    private String userName;

    
    /**
     * 手机
     */
    @Size(max = 64)
    @Schema(description ="手机")
    private String phone;
    /**
     * 姓名
     */
    @Size(max = 64)
    @Schema(description ="姓名")
    private String name;
    /**
     * 邮箱
     */
    @Size(max = 64)
    @Schema(description ="邮箱")
    private String email;
    /**
     * 所属部门
     */
    @Schema(description ="所属部门codes")
    private List<String> partCodes;
    /**
     * phoneArea
     */
    @Schema(description ="手机区号")
    private String phoneArea;
    /**
     * 多因子：0否 1是
     *
     */
    @Schema(description = "多因子：0否 1是")
    private Integer mfaFlag;
    /**
     * 是否勾选协议：0否 1是
     */
    @Schema(description = "是否勾选协议：0否 1是")
    private Integer checkAgreement;
    /**
     * timeZone
     */
    @Schema(description = "timeZone")
    private String timeZone;
    /**
     * language
     */
    @Schema(description = "language")
    private String language;
    /**
     * pwd
     */
    @Schema(description = "pwd")
    private String pwd;
    @Schema(description ="确认密码")
    private String pwdConfirm;
    @Schema(description ="岗位")
    private String job;
    
   
    
    /**
     * 1 启用 0 禁用 2 离职
     * @see AdminUserEnum.USER_STATUS
     */
    @Schema(description ="状态 1 启用 0 禁用 2 离职")
    private Integer status;
  
    /**
     * 是否支持多处登录： ：0否 1是
     * @see AdminUserEnum.YES_NO_TYPE
     */
    @Schema(description ="是否支持多处登录")
    private Integer multipointLogin;
    @Schema(description = "团队码")
    private String teamsCode;
    @Schema(description = "1 运营平台 2 代理 3 商户")
    private Integer sysType;

}
